## to install all the packages required for the
## book, you can do the following: 

install.packages(c('tidyverse', 
                   'rio', 
                   'ggrepel', 
                   'statmod', 
                   'splines', 
                   'ggeffects', 
                   'gridExtra', 
                   'ordinal', 
                   'ggridges', 
                   'factorplot', 
                   'separationplot', 
                   'mgcv', 
                   'heatmapFit', 
                   'ggthemes', 
                   'scales', 
                   'car', 
                   'sn', 
                   'cellWise', 
                   'reticulate', 
                   'corrplot', 
                   'GGally', 
                   'sm', 
                   'ggmosaic', 
                   'qvcalc', 
                   'dotwhisker', 
                   'lmtest', 
                   'hcci', 
                   'sandwich',
                   'moderndive', 
                   'MASS', 
                   'L1pack', 
                   'gamlss', 
                   'boot', 
                   'rsample', 
                   'remotes', 
                   'dplyr', 
                   'nnet', 
                   'grid', 
                   'fGarch', 
                   'multcomp', 
                   'broom', 
                   'coda'))

remotes::install_github("davidaarmstrong/damisc")
remotes::install_github("davidaarmstrong/psre")
